package _08DeractorFactoryDesign;

public class SwimCarDeractor extends CarDecorator {
    public SwimCarDeractor(Car car){
        super(car);
    }
    public void show() {
        this.getCar().show();
        this.swim();
    }
    public void swim(){
        System.out.println("这一辆车可以在水中游！");
    }
}
